package com.open.capacity.finance.service;

import com.open.capacity.finance.dto.AuditModelAuthorizes;
import com.open.capacity.finance.entity.AuditModelWarnScope;

import com.open.capacity.commons.PageResult;

import java.util.Map;
import java.util.List;

/**
 * 模型告警人员范围配置
 *
 * @author
 * @email
 * @date 2023-02-16 16:06:50
 */
public interface AuditModelWarnScopeService {
    /**
     * 添加
     *
     * @param auditModelWarnScopes
     */
    int save(AuditModelAuthorizes auditModelWarnScopes);

    /**
     * 删除
     *
     * @param id
     */
    int delete(String id);


    /**
     * 查询记录
     *
     * @param id
     * @return
     */
    AuditModelAuthorizes findById(String id);

    /**
     * 分页
     *
     * @param params
     * @return
     */
    PageResult<AuditModelWarnScope> pageAll(Map<String, Object> params);

    /**
     * 列表
     *
     * @param params
     * @return
     */
    List<AuditModelWarnScope> findAll(Map<String, Object> params);
}

